package com.edu.solr_news.dao;

import com.edu.solr_news.bean.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface UserDao {

    @Select("select * from user where account=#{account}")
    public User findByAccount(String account);
}
